﻿using System.Web;
using System.Web.Optimization;

namespace TS2015
{
    public class BundleConfig
    {
        // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725
        public static void RegisterBundles(BundleCollection bundles)
        {

            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                           "~/Scripts/modernizr.js",
                           "~/Scripts/jquery-2.1.1.min.js",
                           "~/Scripts/bootstrap.min.js"
               ));

            bundles.Add(new ScriptBundle("~/bundles/script").Include(                                                       
                            "~/Scripts/jquery.slimscroll.min.js",
                            "~/Scripts/jquery.placeholder.js",
                            "~/Scripts/offscreen.js",
                            "~/Scripts/main.js",
                             "~/Scripts/kendo.all.min.js",
                            "~/Scripts/kendo.aspnetmvc.min.js",
                            "~/Scripts/jquery.unobtrusive-ajax.min.js"
                ));

            //bundles.Add(new ScriptBundle("~/bundles/kendo").Include(
            //"~/Scripts/kendo.all.min.js",
            //"~/Scripts/kendo.aspnetmvc.min.js"));


            bundles.Add(new ScriptBundle("~/bundles/ajaxform").Include(
                                       "~/Scripts/jquery.unobtrusive-ajax*"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
                        "~/Scripts/jquery-ui-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                        "~/Scripts/jquery.unobtrusive*",
                        "~/Scripts/jquery.validate*"));

            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                        "~/Scripts/modernizr-*"));
            bundles.Add(new StyleBundle("~/Content/css/bootstrap").Include(
                        "~/Content/css/bootstrap.min.css",
                        "~/Content/css/style.css"
                        ));

            bundles.Add(new StyleBundle("~/Content/css/admin").Include(
                        "~/Content/css/bootstrap.min.css",
                        "~/Content/css/animate.min.css",
                        "~/Content/css/skins/palette.css",
                        "~/Content/css/main.css",
                        "~/Content/css/kendo.common.min.css",
                        "~/Content/css/kendo.default.min.css"
                        ));

            bundles.Add(new StyleBundle("~/Content/css/profile").Include(
                        "~/Content/css/bootstrap.min.css",
                        "~/Content/css/skins/palette.css",
                        "~/Content/css/main.css",
                        "~/Content/css/animate.min.css",
                        "~/Content/css/profile.css"
                        ));
        }
    }
}